#include("/common/include/include.html")
<style>
	.lay-body{
		margin-top: 52px;
		overflow-y: auto;
		overflow-x: unset;
	}
	.lay-header{
		position: absolute;
		top: 0px;
		width: 100%;
	}
</style>
<div class="modal-dialog" style="width:100%">
    <div class="modal-content">
        <div class="modal-header lay-header">
            <button type="button" class="close" data-dismiss="modal" onclick="{parent.layer.closeAll();}"><i class="pci-cross pci-circle"></i></button>
            <h4 class="modal-title">单据流转历史</h4>
        </div>

        <div class="modal-body lay-body">
            <div class="fixed-table-container bootstrap-table" style="padding-bottom: 0px;">
							<table id="treetable" class="demo-add-niftycheck table table-hover table-striped">
								        <thead>
								         	<tr>
									        	<th style="width: 100px;"><div class="th-inner">任务名称</div></th>
												<th style="width: 50px;"><div class="th-inner">办理人ID</div></th>
												<th style="width: 100px;"><div class="th-inner">办理人名称</div></th>
												<th style="width: 200px;"><div class="th-inner">办理意见</div></th>
												<th style="width: 100px;"><div class="th-inner">办理时间</div></th>
									        </tr>
								        </thead>
								        <tbody>
								        	#for(t:hislist)
									        	<tr>
													  <td>#(t.name_)</td>
													  <td>#(t.assignee_)</td>
													  <td>#(t.name)</td>
													  <td>#(t.message_)</td>
													  <td>#(t.end_time_?t.end_time_:"未完成")</td>
												</tr>
								        	#end
								        </tbody>
							</table>
			</div>
        </div>
    </div>
</div>
<script>
	$(document).ready(function() {
		var clientH = document.body.clientHeight-54;
		$(".lay-body").css("height",clientH+"px");
	});
</script>